package com.zhonglz.designPattern.observer.event;

import java.util.EventObject;

import com.zhonglz.designPattern.observer.model.TestInfoA;

/***
 *  TestInfo模型产生的事件
 * @author Administrator
 *
 */
public class ModelEvent extends EventObject {
    private static final long serialVersionUID = 42L;

    public ModelEvent(TestInfoA testInfoA) {
        super(testInfoA);
    }
   


    @Override
    public TestInfoA getSource() {
        return (TestInfoA)super.getSource();
    }
    
   
}
